package com.mikufufu.blog.model.event;

import com.mikufufu.blog.model.entity.OperateLog;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * 定义日志事件
 */
@Getter
public class LogEvent extends ApplicationEvent {

    private final OperateLog operateLog;

    public LogEvent( OperateLog operateLog){
        super(operateLog);
        this.operateLog = operateLog;
    }
}
